home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Telnet 2.6.1d1 4⁄26⁄94 Folder / source / main / telneterrors.h < prev    next >
Text File  |  1993-11-10  |  739b  |  14 lines

  1. /*--------------------------------- Error Classes ------------------------------------*/
  2. #define NOCODE            0                /* no code given, just error strings */
  3. #define FLAGMASK        1023            /* mask all of my flag crap */
  4. #define ERRORMASK        64512            /* mask off all the error crap */
  5. #define NET_ERRORCLASS 2048                /* this bit used for network errors */
  6. #define MEMORY_ERRORCLASS 4096            /* memory allocation errors */
  7. #define RESOURCE_ERRORCLASS 8192        /* problem getting resources */
  8. /*--------------------------------- Error Levels -------------------------------------*/
  9. #define LEVEL1    1                        /* informative error */
  10. #define LEVEL2    2                        /* tell us about it */
  11. #define LEVEL3    3                        /* tell us about it, and hammer Telnet */
  12.  
  13. #include "errors.proto.h"
  14.